﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001005 RID: 4101
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournEnterRogueCocoonSceneScRsp : IMessage<RogueTournEnterRogueCocoonSceneScRsp>, IMessage, IEquatable<RogueTournEnterRogueCocoonSceneScRsp>, IDeepCloneable<RogueTournEnterRogueCocoonSceneScRsp>, IBufferMessage
	{
		// Token: 0x170033E0 RID: 13280
		// (get) Token: 0x0600B776 RID: 46966 RVA: 0x001EF193 File Offset: 0x001ED393
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournEnterRogueCocoonSceneScRsp> Parser
		{
			get
			{
				return RogueTournEnterRogueCocoonSceneScRsp._parser;
			}
		}

		// Token: 0x170033E1 RID: 13281
		// (get) Token: 0x0600B777 RID: 46967 RVA: 0x001EF19A File Offset: 0x001ED39A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournEnterRogueCocoonSceneScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170033E2 RID: 13282
		// (get) Token: 0x0600B778 RID: 46968 RVA: 0x001EF1AC File Offset: 0x001ED3AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournEnterRogueCocoonSceneScRsp.Descriptor;
			}
		}

		// Token: 0x0600B779 RID: 46969 RVA: 0x001EF1B3 File Offset: 0x001ED3B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterRogueCocoonSceneScRsp()
		{
		}

		// Token: 0x0600B77A RID: 46970 RVA: 0x001EF1BC File Offset: 0x001ED3BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterRogueCocoonSceneScRsp(RogueTournEnterRogueCocoonSceneScRsp other) : this()
		{
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B77B RID: 46971 RVA: 0x001EF208 File Offset: 0x001ED408
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterRogueCocoonSceneScRsp Clone()
		{
			return new RogueTournEnterRogueCocoonSceneScRsp(this);
		}

		// Token: 0x170033E3 RID: 13283
		// (get) Token: 0x0600B77C RID: 46972 RVA: 0x001EF210 File Offset: 0x001ED410
		// (set) Token: 0x0600B77D RID: 46973 RVA: 0x001EF218 File Offset: 0x001ED418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x170033E4 RID: 13284
		// (get) Token: 0x0600B77E RID: 46974 RVA: 0x001EF221 File Offset: 0x001ED421
		// (set) Token: 0x0600B77F RID: 46975 RVA: 0x001EF229 File Offset: 0x001ED429
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600B780 RID: 46976 RVA: 0x001EF232 File Offset: 0x001ED432
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournEnterRogueCocoonSceneScRsp);
		}

		// Token: 0x0600B781 RID: 46977 RVA: 0x001EF240 File Offset: 0x001ED440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournEnterRogueCocoonSceneScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B782 RID: 46978 RVA: 0x001EF290 File Offset: 0x001ED490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B783 RID: 46979 RVA: 0x001EF2E5 File Offset: 0x001ED4E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B784 RID: 46980 RVA: 0x001EF2ED File Offset: 0x001ED4ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B785 RID: 46981 RVA: 0x001EF2F8 File Offset: 0x001ED4F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B786 RID: 46982 RVA: 0x001EF354 File Offset: 0x001ED554
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B787 RID: 46983 RVA: 0x001EF3AC File Offset: 0x001ED5AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournEnterRogueCocoonSceneScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B788 RID: 46984 RVA: 0x001EF414 File Offset: 0x001ED614
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B789 RID: 46985 RVA: 0x001EF420 File Offset: 0x001ED620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x04004A13 RID: 18963
		private static readonly MessageParser<RogueTournEnterRogueCocoonSceneScRsp> _parser = new MessageParser<RogueTournEnterRogueCocoonSceneScRsp>(() => new RogueTournEnterRogueCocoonSceneScRsp());

		// Token: 0x04004A14 RID: 18964
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004A15 RID: 18965
		public const int RogueTournCurSceneInfoFieldNumber = 8;

		// Token: 0x04004A16 RID: 18966
		private RogueTournCurSceneInfo rogueTournCurSceneInfo_;

		// Token: 0x04004A17 RID: 18967
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04004A18 RID: 18968
		private uint retcode_;
	}
}
